﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WWX.Dto.Search;
using WWX.Model;

namespace WWX.Admin.IDAL
{
    public interface IMemberDAL
    {
        void Add(Member model);

        void Update(Member model);

        void UpdatePwd(string id, string pwd);

        void UpdateCash(string id, decimal cash, decimal zcash);

        Member Get(string id);

        Member GetByAccount(string account);

        List<Member> GetPageList(MemberAdminSearch search, int pageNo, int pageSize, out int total);
    }
}
